const arr =['a','b','c','d']
// arr.splice(2,0,'m')
// console.log(arr)//修改原数组
const arr2 = arr.concat(['e','f'])//不影响原数组，返回新数组
console.log(arr2)

